// void
ObjList olBT, olO, olV, olMil;
int i;

//AIRun('AIStupidBuilder.vs');
if (GetTime()<60000){
	AIRun('Prioritize.vs' );
	AIRun('Recruiter.vs' );
	AIRun('GAIKAMonitor.vs' );
	AIRun('SquadMonitor.vs');
	AIRun('EconomyMonitor.vs');
	AIRun('TacticMonitor.vs');
} else {
	if(EnvReadInt(AIGetPlayer, "elimination") == 0){
		olBT = ClassPlayerObjs("BaseTownhall", AIGetPlayer).GetObjList();
		for(i=0; i<olBT.count;i+=1){
			if(olBT[i].AsBuilding.IsValid())
				if(olBT[i].AsBuilding.player != 16)
					olBT[i].AsBuilding.SetPlayer(16);
		}
		olO = ClassPlayerObjs("Outpost", AIGetPlayer).GetObjList(); 
		for(i=0; i<olO.count;i+=1){
			if(olO[i].AsBuilding.IsValid())
				if(olO[i].AsBuilding.player != 16)
					olO[i].AsBuilding.SetPlayer(16);
		}
		olV = ClassPlayerObjs("BaseVillage", AIGetPlayer).GetObjList(); 
		for(i=0; i<olV.count;i+=1){
			if(olV[i].AsBuilding.IsValid())
				if(olV[i].AsBuilding.player != 16)
					olV[i].AsBuilding.SetPlayer(16);
		}
		olMil = GetPlayerUnits(AIGetPlayer, "Military");
		for(i=0; i<olMil.count;i+=1){
			if(olMil[i].AsUnit.IsValid())
				if(olMil[i].AsUnit.player != 16)
					olMil[i].AsUnit.SetPlayer(16);
		}
	}
}
